package com.wms.service.impl;

import com.wms.entity.QuickArrivalList;
import com.wms.mapper.QuickArrivalListMapper;
import com.wms.service.QuickArrivalListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class QuickArrivalListServiceImpl implements QuickArrivalListService {

    @Autowired
    QuickArrivalListMapper quickArrivalListMapper;

    @Override
    public List<QuickArrivalList> getAll() {
        return quickArrivalListMapper.selectAll();
    }

    @Override
    public int removeById(int id) {
        return quickArrivalListMapper.deleteById(id);
    }
}
